<?php
return CMap::mergeArray(
        require(DXW_SOURCE_DIR . 'libs/config/main.inc.php'),
        require(DXW_SOURCE_DIR_GLOBEL_DIR."config".DXW_DS."db.php"),
        array(
            'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',  //基础路径
            'name' => DXW_PRO_NAME,                                                //项目名称
            'components' => array(                                              //项目相关规则数组
                'urlManager' => array(                                          //url地址管理
                    'rules' => array(
                        '/' => 'pub/index',                       //url地址书写规则
                        '<controller:\w+>/<action:\w+>' => '<controller>/<action>',
                    ),
                ),
                'errorHandler' => array(                                            //报错处理
                    'errorAction' => 'pub/error',
                ),
            ),
             'theme' => '',
        )

);


